package cn.com.wangluotongxin.admin.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 网络通信-管理端-商户资源信息
 * </p>
 *
 * @author AutoGenerator
 */
@Getter
@Setter
@TableName("admin_merchants_database")
@ApiModel(value = "AdminMerchantsDatabase对象", description = "网络通信-管理端-商户资源信息")
public class AdminMerchantsDatabase implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("合作商信息ID")
    private Integer merchantsId;

    @ApiModelProperty("资源库 1.MYSQL 2.ORACLE 3.SQL_SERVER")
    private Integer databaseType;

    @ApiModelProperty("账号")
    private String username;

    @ApiModelProperty("密码")
    private String password;

    @ApiModelProperty("协议")
    private String protocol;

    @ApiModelProperty("域名")
    private String domain;

    @ApiModelProperty("端口")
    private Integer port;

    @ApiModelProperty("数据库名称")
    private String name;

    @ApiModelProperty("扩展配置")
    private String extendCfg;

    @ApiModelProperty("资源库访问地址")
    private String linkUrl;

    @ApiModelProperty("创建人ID")
    private Integer createId;

    @ApiModelProperty("创建人")
    private String createName;

    @ApiModelProperty("修改人ID")
    private Integer modifyId;

    @ApiModelProperty("修改人")
    private String modifyName;

    @ApiModelProperty("启用状态 0.禁用 1.启用")
    private Integer isEnabled;

    @ApiModelProperty("删除状态 0.未删除 1.已删除")
    private Integer isDeleted;

    @ApiModelProperty("发布状态 0.未发布 1.发布中 2.发布成功 3.发布失败")
    private Integer releaseStatus;

    @ApiModelProperty("发布状态信息")
    private String releaseMessage;

    @ApiModelProperty("发布人ID")
    private Integer releaseId;

    @ApiModelProperty("发布人")
    private String releaseUser;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("修改时间")
    private Date modifyTime;

}
